package com.helin.helinhealth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 健康报告数据传输对象
 */
@Data
@Schema(description = "健康报告DTO")
public class HealthReportDTO {
    
    @Schema(description = "报告ID")
    private Integer id;
    
    @Schema(description = "报告内容")
    private String content;
    
    @Schema(description = "开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    
    @Schema(description = "结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
} 